import React from "react";
import lazyLoad from "@/routers/utils/lazyLoad";
import {LayoutIndex} from "@/routers/constant";
import {RouteObject} from "@/routers/interface";

const GaudMapRouter: Array<RouteObject> = [
    {
        element: <LayoutIndex/>,
        meta: {
            title: "Vue"
        },
        children: [
            {
                path: "/gaudMap/index",
                element: lazyLoad(React.lazy(() => import("@/views/gaudMap/index"))),
                meta: {
                    requiresAuth: true,
                    title: "高德地图",
                    key: "高德地图"
                }
            }
        ]
    }
];

export default GaudMapRouter;
